package com.smartEdu.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.smartEdu.dao.RongCloudDao2;
import com.smartEdu.mapper.RongCloudMapper;
import com.smartEdu.mapper.RongCloudMapper2;
import com.smartEdu.model.CreateRongGroupModel;
import com.smartEdu.model.FindFriendModel;
import com.smartEdu.model.GroupIdModel;
@Repository("rongCloudDaoImpl2")
public class RongCloudDaoImpl2 implements RongCloudDao2{
	
	@Autowired(required=false)
	@Qualifier("rongCloudMapper2")
	private RongCloudMapper2 rongCloudMapper2;

	@Override
	public List<FindFriendModel> returnGroupNumber(String groupid) {
		// TODO Auto-generated method stub
		return rongCloudMapper2.returnGroupNumber(groupid);
	}

	@Override
	public void deletegroupone(GroupIdModel model) {
		// TODO Auto-generated method stub
		rongCloudMapper2.deletegroupone(model);
		
	}

	@Override
	public void deletegroupall(String groupid) {
		// TODO Auto-generated method stub
		rongCloudMapper2.deletegroupall(groupid);
		
	}

	@Override
	public void deletegroupbygroupid(String groupid) {
		// TODO Auto-generated method stub
		rongCloudMapper2.deletegroupbygroupid(groupid);
		
	}

	@Override
	public CreateRongGroupModel returnGroupNumber2(String groupid) {
		// TODO Auto-generated method stub
		return rongCloudMapper2.returnGroupNumber2(groupid);
	}

}
